package net.lahuobao.mall.entity.admin;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: 物流公司
 * @author zhangdaihao
 * @date 2016-12-05 17:30:55
 * @version V1.0   
 *
 */
@Entity
@Table(name = "mall_expresscompany", schema = "lahuobao")
@DynamicUpdate(true)
@DynamicInsert(true)
@SuppressWarnings("serial")
public class MallExpresscompanyEntity implements java.io.Serializable {
	/**id*/
	private java.lang.Integer id;
	/**ordernorule*/
	private java.lang.String ordernorule;
	/**name*/
	private java.lang.String name;
	/**servicephone*/
	private java.lang.String servicephone;
	/**homeurl*/
	private java.lang.String homeurl;
	
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  id
	 */
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name ="ID",nullable=false,precision=10,scale=0)
	public java.lang.Integer getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  id
	 */
	public void setId(java.lang.Integer id){
		this.id = id;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  ordernorule
	 */
	@Column(name ="ORDERNORULE",nullable=true,length=200)
	public java.lang.String getOrdernorule(){
		return this.ordernorule;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  ordernorule
	 */
	public void setOrdernorule(java.lang.String ordernorule){
		this.ordernorule = ordernorule;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  name
	 */
	@Column(name ="NAME",nullable=false,length=20)
	public java.lang.String getName(){
		return this.name;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  name
	 */
	public void setName(java.lang.String name){
		this.name = name;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  servicephone
	 */
	@Column(name ="SERVICEPHONE",nullable=true,length=50)
	public java.lang.String getServicephone(){
		return this.servicephone;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  servicephone
	 */
	public void setServicephone(java.lang.String servicephone){
		this.servicephone = servicephone;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  homeurl
	 */
	@Column(name ="HOMEURL",nullable=true,length=50)
	public java.lang.String getHomeurl(){
		return this.homeurl;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  homeurl
	 */
	public void setHomeurl(java.lang.String homeurl){
		this.homeurl = homeurl;
	}
}
